package com.example;

import org.junit.jupiter.api.Test;
/**
 * Redis测试类
 *
 * @author wsl
 */
public class RedisT extends TestConfig{

    @Test
    public void t() {
//        RedisConnection connection = redisTemplate.getConnectionFactory().getConnection();
//        System.out.println(connection.ping());
//        redisTemplate.opsForValue().set("a","kuangshen");
//        Object a = redisTemplate.opsForValue().get("a");
//        System.out.println(a);
//        List<Dict> list = dictMapper.selectCascade(1);
//        String sex = initData.queryDictType("SEX");
//        System.out.println(sex);
//        System.out.println(list);
//        redisTemplate.getClientList();

    }
}
